export interface buildingData {
     counts: number;
     pageCounts: number;
     pageSize: number;
     list: Array<buildingsList>;
};

export interface buildingsList {
     id: number;
     name: string;
     pid: number;
     leaf: number;
     children: Array<buildingChildren>;
};

export interface buildingChildren {
     id: number;
     name: string;
     pid: number;
     leaf: number;
     children?: any;
};

export interface AddbuildingParams{
    id?:number,
    name:string,
    pid?:string
}
export interface editContentFace {
    id?:number,
    content?:string
    pid?:number
}
export interface paraentDataFace {
     id?:number
     name?:string
}